import http from "@/http/index";

//默认导出的api地址
export default {
    //后台访问类型
    imglist: {
        name: "图库列表",
        url: "/api/upload",
        call: async function (params: any = {}) {
            return await http.get(this.url, params)
        }
    },
    upload: {
        name: "图片上传",
        url: "/api/upload",
        call: async function (params: any = {}) {
            return await http.post(this.url, params)
        }
    }

}